<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@include file="/include.jsp"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<link href="${ctx}/css/style.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/table.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/dwz/themes/default/style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="${ctx}/dwz/themes/css/core.css" rel="stylesheet" type="text/css" media="screen" />
<table border="0" cellpadding="0" cellspacing="0" class="table_border">
    <tr>
        <td>
            <table width="100%" border="0" cellpadding="0" cellspacing="0"
                   class="table_padding">
                <tr>
                    <td>
                        <table align="left">
                            <tr>
                               <td class="box_table_even"><span class="in">选择班级：</span></td>
												<td class="box_table_odd"><span class="in">
													<select name="bumen">
														<option value="">请选择</option>
														<option value="0">1601</option>
														<option value="1">1602</option>
														<option value="2">1603</option>
														<option value="3">1604</option>
													</select>
												</span></td>
                                <td width="50px" style="padding-left: 30px"><input type="text" placeholder="姓名">
                                </td>
                                <td width="100px"><a class="button" href="list.jsp"><span>模糊搜索</span></a>
                                </td>
                                <td width="120px" style="padding-left: 5px"><a class="button" href="list.jsp"><span>查看当月末班学生</span></a>
                                </td>
                                
                                <td width="50px" style="padding-left: 13px"><a class="button" href="list.jsp"><span>末班</span></a>
                                <td width="50px" style="padding-left: 10px"><a class="button" href="list.jsp"><span>毕业</span></a>
                                <td width="50px" style="padding-left: 10px"><a class="button" href="list.jsp"><span>退学</span></a>
                                <td width="50px" style="padding-left: 10px"><a class="button" href="list.jsp"><span>开除</span></a>
                                <td width="50px" style="padding-left: 10px"><a class="button" href="edit.jsp"><span>修改</span></a>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td width="25" height="26" align="right"></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td align="center">
            <table  border="1" cellpadding="0" cellspacing="0" id="box_num_table2"
                   class="box_num_table">
                <thead>
                <tr bgcolor="white">
                    <td width="5%" width="10%"><input type="checkbox"  onclick="checkAll(this)"/></td>
                    <td width="10%">序号</td>
                    <td width="10%">姓名</td>
                    <td width="10%">年龄</td>
                    <td width="10%">性别</td>
                    <td width="10%">班级</td>
                    <td width="10%">宿舍</td>
                    <td width="25%">身份证号</td>
                    <td width="10%">学生状态</td>
                </tr>
                </thead>
                <tbody>
                 <tr  bgcolor="white">
                    <td><input class="aaa" type="checkbox" /></td>
                    <td>1</td>
                    <td>张三</td>
                    <td>34</td>
                    <td>
                    	<c:if test="user.sex==1">checked</c:if>男  
					<%-- 	<c:if test="user.sex==0"></c:if>女 --%>
                    </td>
                    <td>1603</td>
                    <td>208</td>
                    <td>130182193912344324</td>
                    <td>在学</td>
                    
                </tr>
                </tr> 
                </tbody>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table border="0" cellpadding="0" cellspacing="0"
                   class="table_border">
                <tr>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0"
                               class="table_padding">
                            <tr>
                                <td width="8%" class="font_left">数据:120条</td>
                                <td width="12" class="font_left">第</td>
                                <td width="375" class="font_left">
                                    <input name="textfield2" type="text" size="2" maxlength="4" /> /5页
                                </td>
                                <td width="478" class="font_right">
                                    <a href="">首页</a>
                                    <a href="">上一页</a>
                                    <a href="">下一页</a>
                                    <a href="">末页</a>
                                    <a href="">刷新</a>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>

        </td>
    </tr>
</table>
<script type="text/javascript">


	/* var l=$("#box_num_table2 :checkbox:not(:first)");
   var ll=$("input[type='checkbox'][checked=true]:not(:first)");
	l.click(function(){
   alert(l.length)
   alert(ll.length)
	l.each(function(){
		if(!this.checked){
			$("#box_num_table2 input[type='checkbox']:first").prop('checked',false);
			return;
		}
		if(l.length==ll.length){
		$("#box_num_table2 input[type='checkbox']:first").prop('checked', true);
		}
		})
})

function checkAll(obj){
    $("#box_num_table2 input[type='checkbox']").prop('checked', $(obj).prop('checked'));
} */

/* $("#box_num_table2 :checkbox:not(:first)").click(function(){
	
	$("#box_num_table2 input[type='checkbox']:first").prop('checked',false);
}) */



</script>
